pathbar: Style slider buttons
authorMatthias Clasen <mclasen@redhat.com>
Mon, 14 Mar 2016 03:08:47 +0000 (23:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 14 Mar 2016 03:09:47 +0000 (23:09 -0400)
Set a style class on the pathbar slider buttons, and have the
theme handle the separately from other image buttons.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css
gtk/ui/gtkpathbar.ui

index 581dc149db8d3bfc31e27a2cdb999d45b96c6914..59ad3ff48c6dddbfadb303f7f958c3b63fec4eae 100644 (file)
@@ -1496,6 +1496,11 @@ headerbar {
     padding-left: 4px;
     padding-right: 4px;
   }
+
+  &.slider-button {
+    padding-left: 0;
+    padding-right: 0;
+  }
 }
 
 /**************
index e5f08b2cb68bef0f615cf2d43d5f5fa144825d01..c074a94140431142bcda45781c27e325cc3c90e4 100644 (file)
@@ -1637,6 +1637,9 @@ window.csd > .titlebar:not(headerbar) {
 .path-bar button image {
   padding-left: 4px;
   padding-right: 4px; }
+.path-bar button.slider-button {
+  padding-left: 0;
+  padding-right: 0; }
 
 /**************
  * Tree Views *
index f8fd6386cd264ebc1b6025e18304a133ccf760a5..e88ee0d50d7e749fdabc87c7eff89c260576df0f 100644 (file)
@@ -1641,6 +1641,9 @@ window.csd > .titlebar:not(headerbar) {
 .path-bar button image {
   padding-left: 4px;
   padding-right: 4px; }
+.path-bar button.slider-button {
+  padding-left: 0;
+  padding-right: 0; }
 
 /**************
  * Tree Views *
index d9a433dd2a4e432e0a388f80097b998f9d622c11..b295065f589b96f5c049caecdebd8fb196398e0f 100644 (file)
@@ -23,7 +23,7 @@
       </object>
     </child>
     <style>
-      <class name="image-button"/>
+      <class name="slider-button"/>
     </style>
   </object>
   <object class="GtkButton" id="up_slider_button">
@@ -48,7 +48,7 @@
       </object>
     </child>
     <style>
-      <class name="image-button"/>
+      <class name="slider-button"/>
     </style>
   </object>
 </interface>